Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move stray comment #897

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Move stray comment #897

merged 1 commit into from
Oct 5, 2023

Conversation

jaap3
Copy link
Contributor

@jaap3 jaap3 commented Oct 4, 2023

Seems that this comment was moved to a somewhat random position after automated code cleanup, moved it back to where it was before.

See:
c171a32#diff-db31a113ed29f9d863809faac07a22adef130103b150b1305b53756baa398d6f

@jaap3
Copy link
Contributor Author

jaap3 commented Oct 4, 2023

@adamchainz seems that reorder-python-imports insists on moving this comment to below these imports (4c5a343), making it seem the Settings object is "Kept here for backwards compatibility". (I think black want to insert newlines again, moving the comment even further from it's intended location)

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Move comment
@jaap3
Copy link
Contributor Author

jaap3 commented Oct 4, 2023

I moved the comment to the definition file, where I think it makes more sense, as an alternative solution. Hopefully this doesn't anger the auto-formatters.

@adamchainz adamchainz enabled auto-merge (squash) October 5, 2023 06:10
@adamchainz
Copy link
Owner

Thanks, this makes sense

@adamchainz adamchainz merged commit 11634c0 into adamchainz:main Oct 5, 2023
6 checks passed
@jaap3 jaap3 deleted the patch-1 branch October 5, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants